home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Science
/
RLaB
/
help
/
round
< prev
next >
Wrap
Text File
|
1994-04-25
|
584b
|
19 lines
round:
Syntax: round ( A )
Description:
Round returns the nearest integer value to its floating point
argument X as a double-precision floating point number. The
returned value is rounded according to the currently set
machine rounding mode. If round-to-nearest (the default mode)
is set and the difference between the function argument and
the rounded result is exactly 0.5, then the result will be
rounded to the nearest even integer.
Round uses the libm.a function rint. If your machine does not
have rint, then the supplied rint is used.
See Also: ceil, int, floor